package com.liuym.admin.repository.mapper;

import com.liuym.admin.repository.model.entity.TableNameEntity;

import java.util.List;

public interface TableNameMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TableNameEntity record);

    int insertSelective(TableNameEntity record);

    TableNameEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TableNameEntity record);

    int updateByPrimaryKey(TableNameEntity record);

    TableNameEntity findByTableAndTime(String tableName);

    List<TableNameEntity> findAll();

}